//
//  NSDateFormatter+Extension.m
//  jieshuibao
//
//  Created by 小龙 on 2017/2/6.
//  Copyright © 2017年 com.jieshuibao1. All rights reserved.
//

#import "NSDateFormatter+Extension.h"


@implementation NSDateFormatter (Extension)
+ (instancetype)sharedDateFormatter
{
    static NSDateFormatter *_instanceType = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        _instanceType = [[NSDateFormatter alloc]init];
    });
    
    return _instanceType;
}

@end
